﻿var utils = {
    $postJson: function (obj, url, fn) {
        return $.ajax({
            type: 'POST',
            url: url,
            data: JSON.stringify(obj),
            contentType: 'application/json',
            success: fn
        });
    }
};